package model;

import java.util.Comparator;

public class ServerRank {
	
	public Server s;
	public int count;
	
	public class RankComparator implements Comparator<ServerRank> {

		@Override
		public int compare(ServerRank r1, ServerRank r2) {
			if (r1.count < r2.count)
				return -1;
			else if (r1.count > r2.count)
				return 1;
			else
				return 0;
		}
		
	}
}
